﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeFile="~/Admin/Danhsachthuyetminh.aspx.cs" CodeBehind="Danhsachthuyetminh.aspx.cs" Inherits="NCKH.Admin.Danhsachthuyetminh" %>
<%@Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor"%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
    <fieldset>
        <legend style="text-align:center">DANH SÁCH THUYẾT MINH ĐỀ TÀI</legend>
    

       <asp:GridView ID="grvThongtinTM" runat="server"  AutoGenerateColumns="false"  
             EnableModelValidation="true" onrowcommand="grvThongtinTM_RowCommand" DataKeyNames="MaTM"
             AllowPaging="true" PageSize="3" onpageindexchanging="grvThongtinTM_PageIndexChanging">
 
            <Columns>
                 <asp:TemplateField HeaderText="&nbsp;&nbsp;Chọn&nbsp;&nbsp;">
                    <ItemTemplate>
                        <asp:CheckBox ID="chkchon" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;STT&nbsp;&nbsp;&nbsp;&nbsp;">
                    <ItemTemplate>     
                 <%# Container.DataItemIndex + 1 %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField  HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Đề tài&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" DataField="TenDT" />
                <asp:BoundField HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;Tên nhóm&nbsp;&nbsp;&nbsp;&nbsp;" DataField="Tennhom" />
                <asp:BoundField HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;Ngày nộp&nbsp;&nbsp;&nbsp;&nbsp; "  DataField="NgaynopbanTM" />
                <asp:BoundField HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;Phương pháp NC&nbsp;&nbsp;&nbsp;&nbsp;"  DataField="PPtiepcanNC"/>
                <asp:BoundField HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;Dự kiến SP&nbsp;&nbsp;&nbsp;&nbsp;"  DataField="Dukiensanpham"/>
                <asp:BoundField  HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;Dự kiến địa chỉ ƯD&nbsp;&nbsp;&nbsp;&nbsp;" DataField="Dukiendiachiungdung" />
                <asp:BoundField HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;Kinh phí&nbsp;&nbsp;&nbsp;&nbsp; "  DataField="KinhphithuchhienDT"/>
                <asp:TemplateField HeaderText="&nbsp;&nbsp;&nbsp;&nbsp;Xóa&nbsp;&nbsp;&nbsp;&nbsp;">
                    <ItemTemplate>
                        <asp:LinkButton ID="lblxoa" runat="server" 
                        CommandName="xoa" 
                        CommandArgument='<%# Eval("MaTM") %>'
                        OnClientClick='return confirm("Có chắc chắn muốn xóa không?");'>
                            <img src="../Images/xoa.png" alt="Xóa" title="Xóa"/></asp:LinkButton>
                        </ItemTemplate>
                     </asp:TemplateField>
               
            </Columns>
        </asp:GridView>
    </fieldset>
    </div>
     <div style="text-align:left">
            <asp:ImageButton ID="ibtXoa" runat="server" ImageUrl="../Images/delete.png" OnClick="ibtXoa_Click" CommandName="Xóa" CausesValidation="false" Height="31px" Width="25px" />
       </div>
</asp:Content>
